package com.basic.business.memoType.mapper;

import com.basic.business.memoType.domain.TOrdersMemoType;
import com.basic.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 备注类型Mapper接口
 * 
 * @author zhaoxy_jn@163.com
 */
public interface TOrdersMemoTypeMapper extends BaseMapper<TOrdersMemoType> {

    /**
     * 批量更新状态
     * @param ids 主键编号集合
     * @param status 状态
     */
    public int updateStatusByIds(@Param("ids") String[] ids, @Param("status") String status);

    /**
     * 查询状态正常的备注
     */
    public List<TOrdersMemoType> getNormalMemoType();

}
